package com.dms.modules.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商品评价统计
 */
@Data
@ApiModel(value = "评论统计VO", description = "评论统计视图对象")
public class CommentStatistics {
    
    @ApiModelProperty("总评论数")
    private Integer totalCount;
    
    @ApiModelProperty("好评数（4-5星）")
    private Integer goodCount;
    
    @ApiModelProperty("中评数（3星）")
    private Integer mediumCount;
    
    @ApiModelProperty("差评数（1-2星）")
    private Integer badCount;
    
    @ApiModelProperty("好评率")
    private Double goodRate;
    
    @ApiModelProperty("平均评分")
    private Double averageRating;
    
    @ApiModelProperty("有图评论数")
    private Integer imageCount;
    
    @ApiModelProperty("追加评价数")
    private Integer appendCount;
} 